package com.example.builder;

import com.example.builder.item.impl.CocaDrink;
import com.example.builder.item.impl.MeatBurger;
import com.example.builder.item.impl.PesiDrink;
import com.example.builder.item.impl.VegBurger;

/**
 * @Description TODO
 * @Date 2021/10/27 10:06
 * @Author ZhangJi
 * @Version 1.0
 */
public class MealBuilder {

  public Meal meal1(){
    Meal meal = new Meal();
    meal.addItem(new MeatBurger());
    meal.addItem(new CocaDrink());
    return meal;
  }

  public Meal meal2(){
    Meal meal = new Meal();
    meal.addItem(new VegBurger());
    meal.addItem(new PesiDrink());
    return meal;
  }

}
